package com.gxa.business.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class EditBusinessDTO {

    @Min(0)
    private Integer code;
    @NotBlank(message = "标题不能为空")
    private String title;
    @NotBlank(message = "国家地区不能为空")
    private String country;
    @Min(0)
    private Integer industryId;
    @Min(0)
    private Integer fieldId;
    @NotBlank(message = "投资额度不能为空")
    private String investmentQuota;
    @NotBlank(message = "创建人不能为空")
    private String creator;
    @NotBlank(message = "内容不能为空")
    private String content;
}
